package com.wmyg.antifake.service.impl;

import com.wmyg.antifake.entity.Feedback;
import com.wmyg.antifake.repository.FeedbackRepository;
import com.wmyg.antifake.service.FeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 王卓逸
 * @program TODO
 * @description TODO
 * @create 2019-05-13
 */
@Service
public class FeedbackServiceImpl implements FeedbackService {

    @Autowired
    FeedbackRepository feedbackRepository;

    @Override
    public void submit(Feedback feedback) {
        feedbackRepository.save(feedback);
    }

}
